<h1>Cycletestcases List</h1>
<?php foreach ($testcaseListById as $cycle): ?>
<?php foreach ($cycle['CycleTestcases'] as $cycletestcases): ?>
<table class="tableList">
  <thead>
    <tr>
      <th class="alignRight">ID</th>
      <td><?php echo $cycle['id'] ?></td>
    </tr>
    <tr>  
      <th class="alignRight">Cycle Name</th>
      <td><a href="<?php echo url_for('cycletestcases/edit?idcycle='.$cycle['id'].'&idtestcase='.$cycletestcases['idtestcase'].'&userid='.$cycletestcases['User']['id']) ?>"><?php echo $cycle['name'] ?></a></td>
    </tr>
    <tr>
      <th class="alignRight">TestCase Name</th>
      <td><a href="<?php echo url_for('cycletestcases/edit?idcycle='.$cycle['id'].'&idtestcase='.$cycletestcases['idtestcase'].'&userid='.$cycletestcases['User']['id']) ?>"><?php echo $cycletestcases['Testcase']['title'] ?></a></td>
    </tr>
    <tr>
      <th class="alignRight">Username</th>
      <td><a href="<?php echo url_for('cycletestcases/edit?idcycle='.$cycletestcases['idcycle'].'&idtestcase='.$cycletestcases['idtestcase'].'&userid='.$cycletestcases['User']['id']) ?>"><?php echo $cycletestcases['User']['username'] ?></a></td>
    </tr>
    <tr>
      <th class="alignRight">State</th>
      <td><?php echo $cycletestcases['state'] ?></td>
    </tr>
    <tr>
      <th class="alignRight">Bug</th>
       <td><?php echo $cycletestcases['bug'] ?></td>
    </tr>
    <tr>
      <th class="alignRight">Priority</th>
      <td><?php echo $cycletestcases['priority'] ?></td>
    </tr>
    <tr>
      <th class="alignRight">Comments</th>
      <td><?php echo $cycletestcases['comments'] ?></td>
    </tr>
    <tr>
      <th class="alignRight">Execution of Date</th>
      <td><?php echo $cycletestcases['executiondate'] ?></td>      
    </tr>
  </thead> 
      
</table>
    <?php endforeach; ?>
    <?php endforeach; ?>
  <br>
  
